import Vue from 'vue'
import App from './App.vue'
import router from './router'
import api from './http/http';
import config from '../public/js/config'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false
Vue.prototype.$api = api;
Vue.prototype.$apiBaseUrl = config.base_url;

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')